<div class="row RowSpace" style="margin-bottom:20px;">
  <div class="LableDiv" style="width:50px;">
    <Btn class="BtnSave" value="保存" ng-click="btnSave()"></Btn>
  </div>
  <div class="LableDiv" style="width:60px;">
    <Btn value="放弃" ng-click="btnCancel()"></Btn>
  </div>
  <div class="LableDiv" style="width:50px;">
    <Btn class="BtnAdd" value="新增" ng-click="btnAdd()"></Btn>
  </div>
  <div class="LableDiv" style="width:60px;">
    <Btn class="BtnDelete" value="删除" ng-click="btnDelete()"></Btn>
  </div>
  <div class="LableDiv" style="width:50px;">
    <BtnFind DisplayName="查找" WindowTitle="质检指标" module="Module.QCNorm">
      <Column type="0" width="150px" displayname="编码" valuefield="Code"></Column>
      <Column type="textbox" width="150px" displayname="名称" valuefield="Name"></Column>
      <Column type="dropdownlist" width="150px" enum="TypeEnum" displayname="类型" valuefield="Type"></Column>
      <Column type="TextBox" width="150px" displayname="单位" valuefield="Unit"></Column>
      <Column type="TextBox" width="150px" displayname="可扩展枚举" valuefield="ExtendEnum.Name"></Column>
    </BtnFind>
  </div>
  <div class="LableDiv" style="width:60px;">
    <Btn value="列表" ng-click="btnList()"></Btn>
  </div>
  <PageButton module="Module.QCNorm"></PageButton>
</div>

<div class="row RowSpace">
  <div class="LableDiv"><label IsEmpty="false">编码</label></div>
  <div class="InputDiv">
    <TextBox value="Module.QCNorm.FocusedRecord.Code" isempty="false"></TextBox>
  </div>
  <div class="LableDiv"><label IsEmpty="false">名称</label></div>
  <div class="InputDiv">
    <TextBox value="Module.QCNorm.FocusedRecord.Name"></TextBox>
  </div>
  <div class="LableDiv"><label IsEmpty="false">类型</label></div>
  <div class="InputDiv">
    <DropDownList value="Module.QCNorm.FocusedRecord.Type" enum="TypeEnum"></DropDownList>
  </div>
  <div class="LableDiv" ng-show="Module.QCNorm.FocusedRecord.Type ==TypeEnum.Number.Value"><label>单位</label></div>
  <div class="InputDiv" ng-show="Module.QCNorm.FocusedRecord.Type ==TypeEnum.Number.Value">
    <TextBox value="Module.QCNorm.FocusedRecord.Unit"></TextBox>
  </div>
</div>

<div class="row RowSpace" ng-show="Module.QCNorm.FocusedRecord.Type==TypeEnum.Select.Value">
  <div class="LableDiv"><label>可扩展枚举</label></div>
  <div class="InputDiv" style="width:42%;">
    <Refer EntityName="ExtendEnum" WindowTitle="可扩展枚举" value="Module.QCNorm.FocusedRecord.ExtendEnum">
      <Column type="0" width="150px" DisplayName="编码" valuefield="Code"></Column>
      <Column type="textbox" width="150px" DisplayName="名称" valuefield="Name"></Column>
      <Column type="CheckBox" width="150px" DisplayName="预置" valuefield="IsSystem"></Column>
      <Column type="textbox" width="150px" DisplayName="备注" valuefield="Remark"></Column>
    </Refer>
  </div>
</div>